package com.bw.mvvm_comom.utils;

import android.text.TextUtils;

import com.blankj.utilcode.util.EncryptUtils;

import java.util.Arrays;

public class SignUtils {
    public static String createSign(String value){
        if (TextUtils.isEmpty(value))
            return "";
        String sign;
        char[] chars = value.toCharArray();
        Arrays.sort(chars);
        sign = new String(chars);
        sign += "tamboo";
        return EncryptUtils.encryptMD5ToString(sign).toLowerCase();

    }
}
